using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    public partial class Language
    {
        /// <summary>
        /// This is the unique database identifier which points to Swahili as the default language
        /// </summary>
        public const int DEFAULT_LANGUAGE_ID = 2;

        public Language()
        {
            this.Translations = new List<Translation>();
        }

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int LangID { get; set; }

        [Column("Language")]
        [StringLength(200)]
        public string Name { get; set; }

        public virtual List<Translation> Translations { get; set; }
    }
}
